<template>        
    <h2>响应式基础</h2>

    <div>
        {{ number }}
    </div>
</template>

<script setup long="ts">
    import {ref} from 'vue'

    //获取ref()实例
    const number=ref(18)

    console.log(number.value)

</script>